<%--
  Created by IntelliJ IDEA.
  User: 40313
  Date: 2020/12/18
  Time: 下午 9:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<jsp:include page="../base.jsp"></jsp:include>
<c:if test="${!empty userList}">
    <c:forEach items="${userList}" var="user">
        <tr>
            <td>${user.userName }</td>
            <td>${user.loginAccount }</td>
            <td>${user.loginCount }</td>
            <td>${user.lastLoginIp}&nbsp;<fmt:formatDate value="${user.lastLoginDate}"
                                                         pattern="yyyy-MM-dd HH:mm:ss"></fmt:formatDate></td>
            <td>${user.yesnoLock==1?"锁定":"正常"}</td>
            <td><a href="javascript:;" id="a_update" data-id="${user.rowId}">修改</a>
                <a href="javascript:;" id="a_delete" data-id="${user.rowId}">删除</a></td>
        </tr>
    </c:forEach>
</c:if>